import axiosInstance from "./axiosInstance";
const baseUrl = "/analysis";

/**
 * 获取当前企业信息
 */
export const getCurrentCompany = () => {
  return axiosInstance.get(`${baseUrl}/currentCompany`);
};

/**
 * 获取客户分析数据
 */
export const getCustomerAnalysisData = () => {
  return axiosInstance.get(`${baseUrl}/customer`);
};

/**
 * 获取设备分析数据
 */
export const getEquipmentAnalysisData = () => {
  return axiosInstance.get(`${baseUrl}/equipment`);
};